package teach.aistar.mapper;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;
import teach.aistar.model.entity.OrdersDetails;

import java.util.List;

public interface OrderDetailsMapper {
    @Select("select * from orders_details")
    List<OrdersDetails> selectDeatilsAll();

    //根据订单详情表主键删除订单信息
    int deleteByOrderId(int ordersId);
}
